package com.itheima.git.gittest.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class LiuHengController {
    @GetMapping("/liuheng")
    public String lh() {
        return "无法访问此网站localhost 拒绝了我们的连接请求。\n" +
                "请试试以下办法：\n" +
                "\n" +
                "检查网络连接\n" +
                "检查代理服务器和防火墙\n" +
                "ERR_CONNECTION_REFUSED";
    }
}
